package com.horay.springbootdemo.jwt.customer.service;

import com.horay.springbootdemo.jwt.common.model.Customer;

import java.util.Optional;

/**
 * 顾客服务接口
 *
 * @author heyingcheng
 * @date 2019/10/4 12:22
 */
public interface CustomerService {

    String CUSTOMER_ID = "admin";

    String CUSTOMER_PASSWORD = "QWER!@#$";

    /**
     * 按ID查找顾客
     *
     * @param id 顾客ID
     * @author heyingcheng
     * @date 2019/10/4 12:34
     * @return java.util.Optional<com.horay.springbootdemo.jwt.common.model.Customer>
     */
    Optional<Customer> findById(String id);

}
